#include"list.h"


int main()
{
	string s1("acbde");
	List<int> lt(s1.begin(), s1.end());
	List<int> lt2(lt), lt3;
	lt3 = lt2;

	List<int>::reverse_iterator rit = lt.rbegin();
	while (rit != lt.rend())
	{
		cout << *rit << ' ';
		++rit;
	}

	return 0;
}